package com.loveprogrammer.eternity.model.mission;

import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName GoodsReword
 * @Description
 * @Author admin
 * @Date 2023/9/4 13:26
 * @Version 1.0
 */
@Data
public class GoodsReword implements Serializable {

    /**
     * 1 蛋 2 武器 3 装备
     */
    private String goodsType;

    /**
     * 1 随机 2 固定
     */
    private int generationType;

    /**
     * 模板id 如果是随机装备 就用装备的品质
     */
    private String goodsTemplateId;

    private int minLevel;

    private int maxLevel;

    private String equipmentPosition;

    public GoodsReword(String goodsType, int generationType, String goodsTemplateId, int minLevel, int maxLevel, String equipmentPosition) {
        this.goodsType = goodsType;
        this.generationType = generationType;
        this.goodsTemplateId = goodsTemplateId;
        this.minLevel = minLevel;
        this.maxLevel = maxLevel;
        this.equipmentPosition = equipmentPosition;
    }

    public GoodsReword(String goodsType, int generationType, String goodsTemplateId, int minLevel, int maxLevel) {
        this.goodsType = goodsType;
        this.generationType = generationType;
        this.goodsTemplateId = goodsTemplateId;
        this.minLevel = minLevel;
        this.maxLevel = maxLevel;
    }

    public GoodsReword() {
    }
}
